package DB;

import Model.Scenario;
import java.util.ArrayList;

/**
 *
 * @author V3nom
 */

/*
 * IFScenarioManager interface defines publicly visible behavior of ScenarioManager
 */
public interface IFScenarioManager {
    
    /**
     * Gets all scenarios from the database
     * @return Array list of scenario objects
     * @throws IllegalArgumentException 
     */
    public ArrayList<Scenario> getScenarios() throws IllegalArgumentException;
    
    /**
     * Saves the scenario to the database
     * @param scenario
     * @throws IllegalArgumentException 
     */
    public void saveScenario(Scenario scenario) throws IllegalArgumentException;
    
    /**
     * Deletes scenario from the database
     * @param scenario
     * @throws IllegalArgumentException 
     */
    public void deleteScenario(Scenario scenario) throws IllegalArgumentException;
}
